<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>video-library: cz.muni.fi.pb138.videolibrary.database.IDatabaseManager Interface Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">video-library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>cz</b></li><li class="navelem"><b>muni</b></li><li class="navelem"><b>fi</b></li><li class="navelem"><b>pb138</b></li><li class="navelem"><b>videolibrary</b></li><li class="navelem"><b>database</b></li><li class="navelem"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html">IDatabaseManager</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cz.muni.fi.pb138.videolibrary.database.IDatabaseManager Interface Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for cz.muni.fi.pb138.videolibrary.database.IDatabaseManager:</div>
<div class="dyncontent">
 <div class="center">
  <img src="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.png" usemap="#cz.muni.fi.pb138.videolibrary.database.IDatabaseManager_map" alt=""/>
  <map id="cz.muni.fi.pb138.videolibrary.database.IDatabaseManager_map" name="cz.muni.fi.pb138.videolibrary.database.IDatabaseManager_map">
<area href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html" alt="cz.muni.fi.pb138.videolibrary.database.DatabaseManager" shape="rect" coords="0,56,343,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aee20a1641aee042f375f46a01567c019"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#aee20a1641aee042f375f46a01567c019">serializetoXML</a> (URI output)  throws IOException, TransformerConfigurationException, TransformerException </td></tr>
<tr class="memdesc:aee20a1641aee042f375f46a01567c019"><td class="mdescLeft">&#160;</td><td class="mdescRight">serializetoXML Transformuje modifikovanú databázu do XML súboru s danou URI  <a href="#aee20a1641aee042f375f46a01567c019">More...</a><br/></td></tr>
<tr class="separator:aee20a1641aee042f375f46a01567c019"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4758d62f9ecebff5d90e4f8e04014fd6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#a4758d62f9ecebff5d90e4f8e04014fd6">serializetoXML</a> (File output)  throws IOException, TransformerConfigurationException, TransformerException </td></tr>
<tr class="memdesc:a4758d62f9ecebff5d90e4f8e04014fd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">serializetoXML Transformuje modifikovanú databázu do daného XML súboru  <a href="#a4758d62f9ecebff5d90e4f8e04014fd6">More...</a><br/></td></tr>
<tr class="separator:a4758d62f9ecebff5d90e4f8e04014fd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc1023aa323602be18057e89460fcb38"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#afc1023aa323602be18057e89460fcb38">getDefaultLanguage</a> ()</td></tr>
<tr class="memdesc:afc1023aa323602be18057e89460fcb38"><td class="mdescLeft">&#160;</td><td class="mdescRight">getter parametru defaultLanguage  <a href="#afc1023aa323602be18057e89460fcb38">More...</a><br/></td></tr>
<tr class="separator:afc1023aa323602be18057e89460fcb38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa45dffea2061d014ef0587a756b8ed87"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#aa45dffea2061d014ef0587a756b8ed87">setDefaultLanguage</a> (String defaultLanguage)</td></tr>
<tr class="memdesc:aa45dffea2061d014ef0587a756b8ed87"><td class="mdescLeft">&#160;</td><td class="mdescRight">setter parametru defaultLanguage  <a href="#aa45dffea2061d014ef0587a756b8ed87">More...</a><br/></td></tr>
<tr class="separator:aa45dffea2061d014ef0587a756b8ed87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b52bf1798dec7b4034c49c2ab35235d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#a2b52bf1798dec7b4034c49c2ab35235d">addMedium</a> (<a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a> medium)  throws XPathExpressionException, WrongNumberOfElementsException, ElementAlreadyExistsException</td></tr>
<tr class="memdesc:a2b52bf1798dec7b4034c49c2ab35235d"><td class="mdescLeft">&#160;</td><td class="mdescRight">addMedium Pridanie média  <a href="#a2b52bf1798dec7b4034c49c2ab35235d">More...</a><br/></td></tr>
<tr class="separator:a2b52bf1798dec7b4034c49c2ab35235d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af42d6d99376561458d5cf0765e623eb7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#af42d6d99376561458d5cf0765e623eb7">deleteMedium</a> (<a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a> medium)  throws NoSuchElementException, WrongNumberOfElementsException, XPathExpressionException </td></tr>
<tr class="memdesc:af42d6d99376561458d5cf0765e623eb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">deleteMedium Odstránenie média  <a href="#af42d6d99376561458d5cf0765e623eb7">More...</a><br/></td></tr>
<tr class="separator:af42d6d99376561458d5cf0765e623eb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a028750ae9dcd8adca2665ca3ef53e17b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#a028750ae9dcd8adca2665ca3ef53e17b">updateMedium</a> (<a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a> medium)  throws NoSuchElementException, WrongNumberOfElementsException</td></tr>
<tr class="memdesc:a028750ae9dcd8adca2665ca3ef53e17b"><td class="mdescLeft">&#160;</td><td class="mdescRight">updateMedium Zmena parametrov média.  <a href="#a028750ae9dcd8adca2665ca3ef53e17b">More...</a><br/></td></tr>
<tr class="separator:a028750ae9dcd8adca2665ca3ef53e17b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adca432c5dab5d964bb129ec081280498"><td class="memItemLeft" align="right" valign="top">ArrayList&lt; <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#adca432c5dab5d964bb129ec081280498">findMedium</a> (String title)  throws XPathExpressionException, NoSuchElementException, WrongNumberOfElementsException</td></tr>
<tr class="memdesc:adca432c5dab5d964bb129ec081280498"><td class="mdescLeft">&#160;</td><td class="mdescRight">findMedium Vyhľadanie všetkých médií s názvom title. Vyhľadanie je case-insensitive a title môže byť aj podslovo  <a href="#adca432c5dab5d964bb129ec081280498">More...</a><br/></td></tr>
<tr class="separator:adca432c5dab5d964bb129ec081280498"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a895b5318a4032be92d84800bef8f4544"><td class="memItemLeft" align="right" valign="top">ArrayList&lt; <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#a895b5318a4032be92d84800bef8f4544">getAllMedia</a> ()  throws XPathExpressionException, WrongNumberOfElementsException</td></tr>
<tr class="memdesc:a895b5318a4032be92d84800bef8f4544"><td class="mdescLeft">&#160;</td><td class="mdescRight">getAllMedia Vráti zoznam všetkých médií v databáze  <a href="#a895b5318a4032be92d84800bef8f4544">More...</a><br/></td></tr>
<tr class="separator:a895b5318a4032be92d84800bef8f4544"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b189f9b817b50d2b51883cb9a67e44a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#a9b189f9b817b50d2b51883cb9a67e44a">getMedium</a> (long id)  throws XPathExpressionException, NoSuchElementException, WrongNumberOfElementsException</td></tr>
<tr class="memdesc:a9b189f9b817b50d2b51883cb9a67e44a"><td class="mdescLeft">&#160;</td><td class="mdescRight">getMedium Vyhľadá médium podľa ID  <a href="#a9b189f9b817b50d2b51883cb9a67e44a">More...</a><br/></td></tr>
<tr class="separator:a9b189f9b817b50d2b51883cb9a67e44a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbb6716a77f1ac66c91b81b9ded67a07"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#adbb6716a77f1ac66c91b81b9ded67a07">addCategory</a> (<a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a> category)  throws XPathExpressionException, WrongNumberOfElementsException, ElementAlreadyExistsException</td></tr>
<tr class="memdesc:adbb6716a77f1ac66c91b81b9ded67a07"><td class="mdescLeft">&#160;</td><td class="mdescRight">addCategory Pridanie kategórie s novým ID  <a href="#adbb6716a77f1ac66c91b81b9ded67a07">More...</a><br/></td></tr>
<tr class="separator:adbb6716a77f1ac66c91b81b9ded67a07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c55c898aeff022b3f6404639f838e2d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#a7c55c898aeff022b3f6404639f838e2d">deleteCategory</a> (<a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a> category)  throws XPathExpressionException</td></tr>
<tr class="memdesc:a7c55c898aeff022b3f6404639f838e2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">deleteCategory Odobranie kategórie  <a href="#a7c55c898aeff022b3f6404639f838e2d">More...</a><br/></td></tr>
<tr class="separator:a7c55c898aeff022b3f6404639f838e2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b3eca4276270a7d3b7391987e2d0b0b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#a4b3eca4276270a7d3b7391987e2d0b0b">updateCategory</a> (<a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a> category)  throws XPathExpressionException, NoSuchElementException</td></tr>
<tr class="memdesc:a4b3eca4276270a7d3b7391987e2d0b0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">updateCategory Zmena kategórie  <a href="#a4b3eca4276270a7d3b7391987e2d0b0b">More...</a><br/></td></tr>
<tr class="separator:a4b3eca4276270a7d3b7391987e2d0b0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6363f39192b56da01664e77b45b9feb7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#a6363f39192b56da01664e77b45b9feb7">getCategory</a> (long id)  throws NoSuchElementException, XPathExpressionException, WrongNumberOfElementsException</td></tr>
<tr class="memdesc:a6363f39192b56da01664e77b45b9feb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Získanie kategórie z databázy.  <a href="#a6363f39192b56da01664e77b45b9feb7">More...</a><br/></td></tr>
<tr class="separator:a6363f39192b56da01664e77b45b9feb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45188f4204c4581ce5267d1224e1c340"><td class="memItemLeft" align="right" valign="top">ArrayList&lt; <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#a45188f4204c4581ce5267d1224e1c340">findCategory</a> (String title)  throws XPathExpressionException, WrongNumberOfElementsException</td></tr>
<tr class="memdesc:a45188f4204c4581ce5267d1224e1c340"><td class="mdescLeft">&#160;</td><td class="mdescRight">vyhladanie kategórie  <a href="#a45188f4204c4581ce5267d1224e1c340">More...</a><br/></td></tr>
<tr class="separator:a45188f4204c4581ce5267d1224e1c340"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acabf6cc4904b54026b0750cdcf4b72a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#acabf6cc4904b54026b0750cdcf4b72a5">addToCategory</a> (<a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a> medium, <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a> category)  throws XPathExpressionException, WrongNumberOfElementsException</td></tr>
<tr class="memdesc:acabf6cc4904b54026b0750cdcf4b72a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">addToCategory Pridá kategóriu k danému médiu.  <a href="#acabf6cc4904b54026b0750cdcf4b72a5">More...</a><br/></td></tr>
<tr class="separator:acabf6cc4904b54026b0750cdcf4b72a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54176e006f1e7263b61d566f3a8f7fc3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#a54176e006f1e7263b61d566f3a8f7fc3">removeFromCategories</a> (<a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a> medium)  throws XPathExpressionException</td></tr>
<tr class="memdesc:a54176e006f1e7263b61d566f3a8f7fc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">removeFromCategory odoberie medium zo vsetkych kategorii  <a href="#a54176e006f1e7263b61d566f3a8f7fc3">More...</a><br/></td></tr>
<tr class="separator:a54176e006f1e7263b61d566f3a8f7fc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61f41b3bee5d36bb2c14e0aa2cc7b3ec"><td class="memItemLeft" align="right" valign="top">ArrayList&lt; <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#a61f41b3bee5d36bb2c14e0aa2cc7b3ec">getAllCategories</a> ()  throws XPathExpressionException, WrongNumberOfElementsException</td></tr>
<tr class="memdesc:a61f41b3bee5d36bb2c14e0aa2cc7b3ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">getAllCategories Vráti zoznam kategórií  <a href="#a61f41b3bee5d36bb2c14e0aa2cc7b3ec">More...</a><br/></td></tr>
<tr class="separator:a61f41b3bee5d36bb2c14e0aa2cc7b3ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97d3a1aac3fc4581f4aaca0a0d807f43"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#a97d3a1aac3fc4581f4aaca0a0d807f43">importFrom</a> (File odf)</td></tr>
<tr class="memdesc:a97d3a1aac3fc4581f4aaca0a0d807f43"><td class="mdescLeft">&#160;</td><td class="mdescRight">importFrom importuje media z odf suboru  <a href="#a97d3a1aac3fc4581f4aaca0a0d807f43">More...</a><br/></td></tr>
<tr class="separator:a97d3a1aac3fc4581f4aaca0a0d807f43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0faa8ca939a5d034f9e33bc190ca6ad6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_i_database_manager.html#a0faa8ca939a5d034f9e33bc190ca6ad6">removeMediumFromCategory</a> (<a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a> medium, <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a> category)  throws XPathExpressionException</td></tr>
<tr class="memdesc:a0faa8ca939a5d034f9e33bc190ca6ad6"><td class="mdescLeft">&#160;</td><td class="mdescRight">removeMediumFromCategory odstrani medium z kategorie  <a href="#a0faa8ca939a5d034f9e33bc190ca6ad6">More...</a><br/></td></tr>
<tr class="separator:a0faa8ca939a5d034f9e33bc190ca6ad6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Rozhranie pre prácu s databázou. </p>
<dl class="section author"><dt>Author</dt><dd>Martin Hatina, Dominika Hoďovská </dd></dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="adbb6716a77f1ac66c91b81b9ded67a07"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.addCategory </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a>&#160;</td>
          <td class="paramname"><em>category</em></td><td>)</td>
          <td>  throws XPathExpressionException, <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">WrongNumberOfElementsException</a>, <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_element_already_exists_exception.html">ElementAlreadyExistsException</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>addCategory Pridanie kategórie s novým ID </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">javax.xml.xpath.XPathExpressionException</td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">cz.muni.fi.pb138.videolibrary.exception.WrongNumberOfElementsException</a></td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_element_already_exists_exception.html">cz.muni.fi.pb138.videolibrary.exception.ElementAlreadyExistsException</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">category</td><td>Kategória, ktorá má byť pridaná </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#a7563e2bd9cfca99db0250aa90c5e01c4">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="a2b52bf1798dec7b4034c49c2ab35235d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.addMedium </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a>&#160;</td>
          <td class="paramname"><em>medium</em></td><td>)</td>
          <td>  throws XPathExpressionException, <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">WrongNumberOfElementsException</a>, <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_element_already_exists_exception.html">ElementAlreadyExistsException</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>addMedium Pridanie média </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">javax.xml.xpath.XPathExpressionException</td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_element_already_exists_exception.html">cz.muni.fi.pb138.videolibrary.exception.ElementAlreadyExistsException</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">medium</td><td>Nové médium, ktorému bude pridelené ID. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">WrongNumberOfElementsException</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#a114a529e2c430748283996d4006a44fd">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="acabf6cc4904b54026b0750cdcf4b72a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.addToCategory </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a>&#160;</td>
          <td class="paramname"><em>medium</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a>&#160;</td>
          <td class="paramname"><em>category</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>  throws XPathExpressionException, <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">WrongNumberOfElementsException</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>addToCategory Pridá kategóriu k danému médiu. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">javax.xml.xpath.XPathExpressionException</td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">cz.muni.fi.pb138.videolibrary.exception.WrongNumberOfElementsException</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">medium</td><td>Médium, ktoré bude pridané do kategórie </td></tr>
    <tr><td class="paramname">category</td><td>Kategória, ktorej bude pridané médium </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#a3e11a00792da457be19660b548174cbe">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="a7c55c898aeff022b3f6404639f838e2d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.deleteCategory </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a>&#160;</td>
          <td class="paramname"><em>category</em></td><td>)</td>
          <td>  throws XPathExpressionException</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>deleteCategory Odobranie kategórie </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">javax.xml.xpath.XPathExpressionException</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">category</td><td>Kategória na odobranie </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#af0c9dd54d5a371e761cf3ac2321144d3">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="af42d6d99376561458d5cf0765e623eb7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.deleteMedium </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a>&#160;</td>
          <td class="paramname"><em>medium</em></td><td>)</td>
          <td>  throws NoSuchElementException, <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">WrongNumberOfElementsException</a>, XPathExpressionException </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>deleteMedium Odstránenie média </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">cz.muni.fi.pb138.videolibrary.exception.WrongNumberOfElementsException</a></td><td></td></tr>
    <tr><td class="paramname">javax.xml.xpath.XPathExpressionException</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">medium</td><td>Médium, ktoré má byť odstránené. </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#ae2e240d2e9c70bc2dd8e8ad2ca1ce307">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="a45188f4204c4581ce5267d1224e1c340"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ArrayList&lt;<a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a>&gt; cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.findCategory </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>title</em></td><td>)</td>
          <td>  throws XPathExpressionException, <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">WrongNumberOfElementsException</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>vyhladanie kategórie </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">javax.xml.xpath.XPathExpressionException</td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">cz.muni.fi.pb138.videolibrary.exception.WrongNumberOfElementsException</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">title</td><td>názov kategórie, ktorá má byť nájdená </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>vyhľadaná kategória </dd></dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#a4612c572db8c920332032d8db70a589a">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="adca432c5dab5d964bb129ec081280498"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ArrayList&lt;<a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a>&gt; cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.findMedium </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>title</em></td><td>)</td>
          <td>  throws XPathExpressionException, NoSuchElementException, <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">WrongNumberOfElementsException</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>findMedium Vyhľadanie všetkých médií s názvom title. Vyhľadanie je case-insensitive a title môže byť aj podslovo </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">javax.xml.xpath.XPathExpressionException</td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">cz.muni.fi.pb138.videolibrary.exception.WrongNumberOfElementsException</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">title</td><td>Reťazec, podľa ktorého hľadáme. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Zoznam médií ktoré obsahujú hodnotu v parametri title </dd></dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#a4c7b8c63a6192215511ea53d6375eac6">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="a61f41b3bee5d36bb2c14e0aa2cc7b3ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ArrayList&lt;<a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a>&gt; cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.getAllCategories </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td>  throws XPathExpressionException, <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">WrongNumberOfElementsException</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>getAllCategories Vráti zoznam kategórií </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">javax.xml.xpath.XPathExpressionException</td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">cz.muni.fi.pb138.videolibrary.exception.WrongNumberOfElementsException</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Zoznam všetkých kategórií </dd></dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#a2390ff8dc44a761cff11bb82b9a8d46a">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="a895b5318a4032be92d84800bef8f4544"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ArrayList&lt;<a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a>&gt; cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.getAllMedia </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td>  throws XPathExpressionException, <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">WrongNumberOfElementsException</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>getAllMedia Vráti zoznam všetkých médií v databáze </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">javax.xml.xpath.XPathExpressionException</td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">cz.muni.fi.pb138.videolibrary.exception.WrongNumberOfElementsException</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Zoznam všetkých médií v databáze </dd></dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#aa4b3927a30b73a5ab46e621b07d652c4">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="a6363f39192b56da01664e77b45b9feb7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a> cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.getCategory </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td>  throws NoSuchElementException, XPathExpressionException, <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">WrongNumberOfElementsException</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Získanie kategórie z databázy. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">javax.xml.xpath.XPathExpressionException</td><td></td></tr>
    <tr><td class="paramname"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">cz.muni.fi.pb138.videolibrary.exception.WrongNumberOfElementsException</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>ID kategórie, ktorá má byť nájdená </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#a96df453d50b744a8a4125897f9dfa744">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="afc1023aa323602be18057e89460fcb38"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.getDefaultLanguage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>getter parametru defaultLanguage </p>
<dl class="section return"><dt>Returns</dt><dd>defaultný jazyk </dd></dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#a35bed21a04c1515e63d5762a2cb2aa22">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="a9b189f9b817b50d2b51883cb9a67e44a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a> cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.getMedium </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td>  throws XPathExpressionException, NoSuchElementException, <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">WrongNumberOfElementsException</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>getMedium Vyhľadá médium podľa ID </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">javax.xml.xpath.XPathExpressionException</td><td></td></tr>
    <tr><td class="paramname">WrongNumberOfElementsException</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>ID média </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>nájdené médium alebo null </dd></dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#aaf45e7628d69c56c02dfebef4a92b5ff">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="a97d3a1aac3fc4581f4aaca0a0d807f43"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.importFrom </td>
          <td>(</td>
          <td class="paramtype">File&#160;</td>
          <td class="paramname"><em>odf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>importFrom importuje media z odf suboru </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">odf</td><td>subor v ktorom sa nachadzaju media </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#aade464c4172f64f8946b7c443768c7a2">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="a54176e006f1e7263b61d566f3a8f7fc3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.removeFromCategories </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a>&#160;</td>
          <td class="paramname"><em>medium</em></td><td>)</td>
          <td>  throws XPathExpressionException</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>removeFromCategory odoberie medium zo vsetkych kategorii </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">javax.xml.xpath.XPathExpressionException</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">medium</td><td>Médium, ktoré bude odobrané z kategórii </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#aa9f09a2957551832701144f634ad2955">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="a0faa8ca939a5d034f9e33bc190ca6ad6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.removeMediumFromCategory </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a>&#160;</td>
          <td class="paramname"><em>medium</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a>&#160;</td>
          <td class="paramname"><em>category</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>  throws XPathExpressionException</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>removeMediumFromCategory odstrani medium z kategorie </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">medium</td><td></td></tr>
    <tr><td class="paramname">category</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">XPathExpressionException</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#ad028319794647ed7e6b0b792f36e291f">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="aee20a1641aee042f375f46a01567c019"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.serializetoXML </td>
          <td>(</td>
          <td class="paramtype">URI&#160;</td>
          <td class="paramname"><em>output</em></td><td>)</td>
          <td>  throws IOException, TransformerConfigurationException, TransformerException </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>serializetoXML Transformuje modifikovanú databázu do XML súboru s danou URI </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">output</td><td>URI súboru, do ktorého má byť transformovaná databáza </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
    <tr><td class="paramname">TransformerConfigurationException</td><td></td></tr>
    <tr><td class="paramname">TransformerException</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#a9403f7fedc8d0e962ed073fdfa684b89">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="a4758d62f9ecebff5d90e4f8e04014fd6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.serializetoXML </td>
          <td>(</td>
          <td class="paramtype">File&#160;</td>
          <td class="paramname"><em>output</em></td><td>)</td>
          <td>  throws IOException, TransformerConfigurationException, TransformerException </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>serializetoXML Transformuje modifikovanú databázu do daného XML súboru </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">output</td><td>Súbor, do ktorého má byť transformovaná databáza </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
    <tr><td class="paramname">TransformerConfigurationException</td><td></td></tr>
    <tr><td class="paramname">TransformerException</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#ac6dcfbf398c913c10d8e95a6e20a4688">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="aa45dffea2061d014ef0587a756b8ed87"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.setDefaultLanguage </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>defaultLanguage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>setter parametru defaultLanguage </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">defaultLanguage</td><td>defaultný jazyk </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#aeb161a1d260a20397ba362487a721a27">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="a4b3eca4276270a7d3b7391987e2d0b0b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.updateCategory </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_category.html">Category</a>&#160;</td>
          <td class="paramname"><em>category</em></td><td>)</td>
          <td>  throws XPathExpressionException, NoSuchElementException</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>updateCategory Zmena kategórie </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">javax.xml.xpath.XPathExpressionException</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">category</td><td>Modifikovaná kategória </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#a29ce447c77c5ef9e6a9c1a653821adfe">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<a class="anchor" id="a028750ae9dcd8adca2665ca3ef53e17b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cz.muni.fi.pb138.videolibrary.database.IDatabaseManager.updateMedium </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_medium.html">Medium</a>&#160;</td>
          <td class="paramname"><em>medium</em></td><td>)</td>
          <td>  throws NoSuchElementException, <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">WrongNumberOfElementsException</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>updateMedium Zmena parametrov média. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1exception_1_1_wrong_number_of_elements_exception.html">cz.muni.fi.pb138.videolibrary.exception.WrongNumberOfElementsException</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">medium</td><td>Modifikovaná inštancia média. </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classcz_1_1muni_1_1fi_1_1pb138_1_1videolibrary_1_1database_1_1_database_manager.html#a40ae5da29e748379106d81ba886154b0">cz.muni.fi.pb138.videolibrary.database.DatabaseManager</a>.</p>

</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li>/home/mhatina/Skola/PB138/video-library-pb138/VideoLibrary/src/main/java/cz/muni/fi/pb138/videolibrary/database/IDatabaseManager.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu May 29 2014 09:46:24 for video-library by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
